<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Câu 3</title>
<script src='jquery-1.10.2.min.js'> </script>


<script>
	function board(){
		var n=prompt ("Nhập n: ", "");
		var i;
		for(i=0;i<n;i++){
			document.write('<div class = "ClassDiv" id = "'+(i+1)+'" align = "center" >'+(i+1)+'</div>');
		}
	}
	board();
</script>

<style type="text/css">
	body div{
		width:100px;
		height:100px;
		background-color:yellow;	
		border: red solid 2px;
		Float: left;
	}
</style>